window = globalThis;
var navigator = {
  userAgent:
    "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36",
};
window.navigator = navigator;
var location = {
  host: "www.gsxt.gov.cn",
  hostname: "www.gsxt.gov.cn",
  href: "https://www.gsxt.gov.cn/corp-query-entprise-info-xxgg-100000.html",
  origin: "https://www.gsxt.gov.cn",
  pathname: "/corp-query-entprise-info-xxgg-100000.html",
  port: "",
  search:"",
  protocol: "https:",
};
var document = {
  location: {
    ancestorOrigins: {},
    href: "https://www.gsxt.gov.cn/corp-query-entprise-info-xxgg-100000.html",
    origin: "https://www.gsxt.gov.cn",
    protocol: "https:",
    host: "www.gsxt.gov.cn",
    hostname: "www.gsxt.gov.cn",
    port: "",
    pathname: "/corp-query-entprise-info-xxgg-100000.html",
    search: "",
    hash: "",
  },
};
function hash(_0x594e85) {
  function _0x348608(_0x4544d7, _0x12b751) {
    return (
      ((_0x4544d7 & 2147483647) + (_0x12b751 & 2147483647)) ^
      (_0x4544d7 & 2147483648) ^
      (_0x12b751 & 2147483648)
    );
  }

  function _0x36ac93(_0x5341c7) {
    var _0x2ebce3 = "0123456789abcdef";
    var _0x37e758 = "";

    for (var _0x182e46 = 7; _0x182e46 >= 0; _0x182e46--) {
      _0x37e758 += _0x2ebce3["charAt"]((_0x5341c7 >> (_0x182e46 * 4)) & 15);
    }

    return _0x37e758;
  }

  function _0x462b92(_0x8f445e) {
    var _0x362bd5 = ((_0x8f445e["length"] + 8) >> 6) + 1;

    var _0x37cb85 = new Array(_0x362bd5 * 16);

    for (var _0x7a499d = 0; _0x7a499d < _0x362bd5 * 16; _0x7a499d++) {
      _0x37cb85[_0x7a499d] = 0;
    }

    for (_0x7a499d = 0; _0x7a499d < _0x8f445e["length"]; _0x7a499d++) {
      _0x37cb85[_0x7a499d >> 2] |=
        _0x8f445e["charCodeAt"](_0x7a499d) << (24 - (_0x7a499d & 3) * 8);
    }

    _0x37cb85[_0x7a499d >> 2] |= 128 << (24 - (_0x7a499d & 3) * 8);
    _0x37cb85[_0x362bd5 * 16 - 1] = _0x8f445e["length"] * 8;
    return _0x37cb85;
  }

  function _0x5da180(_0x2e7efc, _0x57db5e) {
    return (_0x2e7efc << _0x57db5e) | (_0x2e7efc >>> (32 - _0x57db5e));
  }

  function _0x242c71(_0x3990b5, _0x38b3bd, _0x2687fb, _0x8aa692) {
    if (_0x3990b5 < 20)
      return (_0x38b3bd & _0x2687fb) | (~_0x38b3bd & _0x8aa692);
    if (_0x3990b5 < 40) return _0x38b3bd ^ _0x2687fb ^ _0x8aa692;
    if (_0x3990b5 < 60)
      return (
        (_0x38b3bd & _0x2687fb) |
        (_0x38b3bd & _0x8aa692) |
        (_0x2687fb & _0x8aa692)
      );
    return _0x38b3bd ^ _0x2687fb ^ _0x8aa692;
  }

  function _0x3cd122(_0x27193a) {
    return _0x27193a < 20
      ? 1518500249
      : _0x27193a < 40
      ? 1859775393
      : _0x27193a < 60
      ? -1894007588
      : -899497514;
  }

  var _0x5ad817 = _0x462b92(_0x594e85);

  var _0x72492f = new Array(80);

  var _0x591fbc = 1732584193;

  var _0x10ead4 = -271733879;

  var _0x4a66f4 = -1732584194;

  var _0x4b12a7 = 271733878;

  var _0x4034ad = -1009589776;

  for (var _0x9007b2 = 0; _0x9007b2 < _0x5ad817["length"]; _0x9007b2 += 16) {
    var _0xc445ed = "8|3|5|1|10|6|2|9|4|7|0"["split"]("|");

    var _0x284e5f = 0;
    var _0x24a333 = _0x591fbc;
    var _0x54b58f = _0x10ead4;
    var _0x5449a8 = _0x4a66f4;
    var _0x16c99b = _0x4b12a7;
    var _0x4d055b = _0x4034ad;

    for (var _0x2a14f4 = 0; _0x2a14f4 < 80; _0x2a14f4++) {
      var _0x2c3aaf = "4|6|0|2|5|1|3"["split"]("|");

      var _0x5e3f85 = 0;

      if (_0x2a14f4 < 16) {
        _0x72492f[_0x2a14f4] = _0x5ad817[_0x9007b2 + _0x2a14f4];
      } else {
        _0x72492f[_0x2a14f4] = _0x5da180(
          _0x72492f[_0x2a14f4 - 3] ^
            _0x72492f[_0x2a14f4 - 8] ^
            _0x72492f[_0x2a14f4 - 14] ^
            _0x72492f[_0x2a14f4 - 16],
          1
        );
      }

      t = _0x348608(
        _0x348608(
          _0x5da180(_0x591fbc, 5),
          _0x242c71(_0x2a14f4, _0x10ead4, _0x4a66f4, _0x4b12a7)
        ),
        _0x348608(
          _0x348608(_0x4034ad, _0x72492f[_0x2a14f4]),
          _0x3cd122(_0x2a14f4)
        )
      );
      _0x4034ad = _0x4b12a7;
      _0x4b12a7 = _0x4a66f4;
      _0x4a66f4 = _0x5da180(_0x10ead4, 30);
      _0x10ead4 = _0x591fbc;
      _0x591fbc = t;
    }

    _0x591fbc = _0x348608(_0x591fbc, _0x24a333);
    _0x10ead4 = _0x348608(_0x10ead4, _0x54b58f);
    _0x4a66f4 = _0x348608(_0x4a66f4, _0x5449a8);
    _0x4b12a7 = _0x348608(_0x4b12a7, _0x16c99b);
    _0x4034ad = _0x348608(_0x4034ad, _0x4d055b);
  }

  return (
    _0x36ac93(_0x591fbc) +
    _0x36ac93(_0x10ead4) +
    _0x36ac93(_0x4a66f4) +
    _0x36ac93(_0x4b12a7) +
    _0x36ac93(_0x4034ad)
  );
}

function go(_0x1abba6) {
  function _0xb71d3f() {
    var _0x1aa0d9 = window["navigator"]["userAgent"];
    console.log(_0x1aa0d9);
    var _0x3f5cac = ["Phantom"];

    for (var _0x242b52 = 0; _0x242b52 < _0x3f5cac["length"]; _0x242b52++) {
      if (_0x1aa0d9["indexOf"](_0x3f5cac[_0x242b52]) != -1) {
        return true;
      }
    }

    if (
      window["callPhantom"] ||
      window["_phantom"] ||
      window["Headless"] ||
      window["navigator"]["webdriver"] ||
      window["navigator"]["__driver_evaluate"] ||
      window["navigator"]["__webdriver_evaluate"]
    ) {
      return true;
    }
  }

  if (_0xb71d3f()) {
    return;
  }

  var _0x1c8eb1 = new Date();

  function _0x19e3e9(_0x323e25, _0x3c8ec2) {
    var _0x5cb82c = _0x1abba6["chars"]["length"];

    for (var _0x2b5565 = 0; _0x2b5565 < _0x5cb82c; _0x2b5565++) {
      for (var _0x2729a7 = 0; _0x2729a7 < _0x5cb82c; _0x2729a7++) {
        var _0xc1861 =
          _0x3c8ec2[0] +
          _0x1abba6["chars"]["substr"](_0x2b5565, 1) +
          _0x1abba6["chars"]["substr"](_0x2729a7, 1) +
          _0x3c8ec2[1];

        if (hash(_0xc1861) == _0x323e25) {
          return [_0xc1861, new Date() - _0x1c8eb1];
        }
      }
    }
  }

  var _0x3df54d = _0x19e3e9(_0x1abba6["ct"], _0x1abba6["bts"]);

  if (_0x3df54d) {
    var _0x1a002f;

    if (_0x1abba6["wt"]) {
      _0x1a002f =
        parseInt(_0x1abba6["wt"]) > _0x3df54d[1]
          ? parseInt(_0x1abba6["wt"]) - _0x3df54d[1]
          : 500;
    } else {
      _0x1a002f = 1500;
    }

    (function() {
      document["cookie"] =
        _0x1abba6["tn"] +"=" +_0x3df54d[0] +";Max-age=" +_0x1abba6["vt"] +"; path = /";
      location["href"] = location["pathname"] + location["search"];
    })();
  } else {
    console.log("请求验证å¤±è´¥");
  }
}

go({
  bts: ["1686643233.512|0|xCF", "bG7PdixFQN9LMzlSAsWbDA%3D"],
  chars: "eZpygptcQHXMKNZRWsIW00",
  ct: "6bd9f66616e6c4e6fac0e23ba55174308531f4ca",
  ha: "sha1",
  is: true,
  tn: "__jsl_clearance_s",
  vt: "3600",
  wt: "1500",
});
console.log(document.cookie)
